// config API
import { get, put } from '@/utils/request'

// 获取系统配置
export const fetchConfig = () => {
  return get('/system/config')
}

// 保存系统配置
export const saveConfig = (data: any) => {
  return put('/system/config', data)
} 